home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / GameKit / Headers / gamekit / WinDel.h < prev   
Text File  |  1995-06-12  |  878b  |  27 lines

  1.  
  2. /* Generated by Interface Builder */
  3.  
  4. #import <appkit/appkit.h>
  5.  
  6. // WinDel is a simple window delegate that keeps track of whether the user
  7. // has ordered a window away or not.  In PacMan, the GameBrain uses these
  8. // to determine wether or not to bring forward the Stats and FruitBasket
  9. // windows when the app is activated.  (Both windows disappear when the
  10. // app loses key status, but when they come back upon re-activation, we need
  11. // to be sure that they are layered properly.  Simply ordering them out to do
  12. // the layering is unacceptable, since the user may not want the windows up.
  13. // Thus, when the game brain brings the windows out in the specific order, it
  14. // queries the WinDel to see if the window should be ordered out or not.) 
  15.  
  16. @interface WinDel:Object
  17. {
  18.     BOOL winIsOn;
  19. }
  20.  
  21. - init;
  22. - (BOOL)windowUp;
  23. - windowWillClose:sender;
  24. - windowDidBecomeKey:sender;
  25.  
  26. @end
  27.